{% extends "BootStrapBase.html" %}

{% block content %}


<div class="navbar navbar-fixed-top">
	<div class="navbar-inner">
		<div class="container">
			<a class="brand" href="/">似水流年</a>
			<script type="text/javascript">
				var dispatch = function() {
					q = document.getElementById("q");
					if (q.value != "") {
						window.open('http://www.google.com/search?q=site:jstwind.com/t%20' + q.value, "_blank");
						return false;
					} else {
						return false;
					}
				}
			</script>
			<form action="" onsubmit="return dispatch()" class="navbar-search pull-left">
				<input name="q" id="q" type="text" placeholder="Search" style="width: 160px">
			</form>
			<ul class="nav">
				<li><a href="/recommend/">推荐</a></li>
				<li><a href="/hot/">热门</a></li>
				<li><a href="/last/">最新</a></li>
				<li><a href="/tags/">标签云</a></li>
			</ul>
			<ul class="nav pull-right">
				<li><a href="/accounts/signin/"><span>登录</span></a></li>
				<li><a href="/accounts/signup/"><span>注册</span></a></li>
			</ul>
		</div>
	</div>
</div>


{% endblock %}